package es.xpt.ysf.commons.enums.view;

import java.util.List;

import javax.faces.component.UIData;

import org.apache.myfaces.component.html.ext.HtmlDataTable;
import org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane;

import es.xpt.ysf.model.Item;
import es.xpt.ysf.view.Helper;

public class EnumValuesHelper extends Helper {
	
	private UIData languageInfo;
	private boolean languageEdit = false;
	private boolean listMode = true;
    private UIData data;
    private HtmlDataTable htmlDataTable;
    private List<Item> selectedEnumValueList;
    private HtmlPanelTabbedPane tabs = new HtmlPanelTabbedPane();
	
	public UIData getData() {
		return data;
	}

	public void setData(UIData data) {
		this.data = data;
	}

	public EnumValuesHelper () {
		
	}

	public UIData getLanguageInfo() {
		return languageInfo;
	}

	public void setLanguageInfo(UIData languageInfo) {
		this.languageInfo = languageInfo;
	}

	public boolean isLanguageEdit() {
		return languageEdit;
	}

	public void setLanguageEdit(boolean languageEdit) {
		this.languageEdit = languageEdit;
	}

	public boolean isListMode() {
		return listMode;
	}

	public void setListMode(boolean listMode) {
		this.listMode = listMode;
	}

	public List<Item> getSelectedEnumValueList() {
		return selectedEnumValueList;
	}

	public void setSelectedEnumValueList(List<Item> selectedEnumValueList) {
		this.selectedEnumValueList = selectedEnumValueList;
	}

	public HtmlDataTable getHtmlDataTable() {
		return htmlDataTable;
	}

	public void setHtmlDataTable(HtmlDataTable htmlDataTable) {
		this.htmlDataTable = htmlDataTable;
	}

	/**
	 * @return the tabs
	 */
	public HtmlPanelTabbedPane getTabs() {
		return tabs;
	}

	/**
	 * @param tabs the tabs to set
	 */
	public void setTabs(HtmlPanelTabbedPane tabs) {
		this.tabs = tabs;
	}
	
}
